<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
	String path = request.getContextPath();
%>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>数据迁移</title>
		<script type="text/javascript">
			ctxRoot  = '<%=path%>';
		</script>
		<script type="text/javascript" src="<%=path%>/js/datamigrate.js"></script>
		<script type="text/javascript" src="<%=path%>/js/jquery.js"></script>
		<script type="text/javascript" src="<%=path%>/js/base.js"></script>
	</head>
	<body>
		<div id="search-window" align="center">
			<form method="post" id="search_form">
				<table cellSpacing=0 cellPadding=0 class="tableForm">
					<tr>
						<td class="labelTd">
							发卡商号:
						</td>
						<td class="formTd">
							<input type="text" value="" name="issuecompanyno"
								id="issuecompanyno" maxlength="6">
						</td>
						<td class="labelTd">
							发卡机构号:
						</td>
						<td class="formTd">
							<input type="text" value="" name="issuebranchno"
								id="issuebranchno">
						</td>
					</tr>
					<tr>
						<td class="labelTd">
							角色id:
						</td>
						<td class="formTd">
							<input type="text" value="" name="roleid" id="roleid">
						</td>
						<td class="labelTd">
							区域码:
						</td>
						<td class="formTd">
							<input type="text" value="" name="regionNo" id="regionNo">
						</td>
					</tr>
					<tr>
						<td class="labelTd">
							收益机构id:
						</td>
						<td class="formTd">
							<input type="text" value="" name="incomeBranchId"
								id="incomeBranchId">
						</td>
						<td class="labelTd">
							制卡商id
						</td>
						<td class="formTd">
							<input type="text" value="" name="cardManufactureId"
								id="cardManufactureId">
						</td>
					</tr>
					<tr>
					<tr>
						<td class="labelTd">
							卡名称id:
						</td>
						<td class="formTd">
							<input type="text" value="" name="cardFaceId" id="cardFaceId">
						</td>
						<td class="labelTd">
							操作员ID:
						</td>
						<td class="formTd">
							<input type="text" value="" name="operId" id="operId">
						</td>
					</tr>
					<tr>
						<td class="labelTd">
							线程数:
						</td>
						<td class="formTd" colspan="3">
							<input type="text" value="" name="threadcnt" id="threadcnt">
						</td>
					</tr>
					<tr>
						<td class="noauto" colspan="4" align="center">
							<input type="button" value="发卡机构迁移" onclick="getIssueBranch()">
							<input type="button" value="销售机构迁移" onclick="getSaleBranch()">
							<input type="button" value="用户迁移" onclick="getUser()">
							<input type="button" value="商户迁移" onclick="getMerchant()">
							<input type="button" value="卡种类迁移" onclick="getCardClass()">
							<input type="button" value="卡控制迁移" onclick="getMakeCard()">
							<br>
							<hr>
							<input type="button" value="卡库存迁移" onclick="getCardStock()">
							<input type="button" value="出入库明细迁移" onclick="getCardDetail()">
							<input type="button" value="激活卡迁移"
								onclick="tranferActivateCard()">
							<br>
							<hr>
							<input type="button" value="PMBS 已迁移数据map删除"
								onclick="deleteMapTradDetail()">
							<input type="button" value="PMBS交易流水"
								onclick="getPMBSHisTradDetail()">
							<input type="button" value="PMBS AddTradSummary 迁移"
								onclick="getPMBSTradSummary()">
							<input type="button" value="PMBS 已清分数据 迁移"
								onclick="getPMBSSortInfo()">
							<br>
							<input type="button" value="接着以前的已清分数据迁移"
								onclick="getPMBSSortInfoGoOn()">
							<br>
							<hr>
							<br>
							<hr>
							IP:
							<input type="text" value="" name="ip" id="ip">
							PORT:
							<input type="text" value="" name="port" id="port">
							TRANDATE:
							<input type="text" value="" name="trandate" id="trandate">
							<br>
							老商户号:
							<input type="text" value="" name="oldMerchantNo"
								id="oldMerchantNo">
							可以不填写
							<input type="radio" value="0" name="radios" id="radios">
							交易
							<input type="radio" value="1" name="radios" id="radios">
							撤销交易
							<br>
							<input type="button" value="PMBS 日交易数据并行"
								onclick="getPMBSDataByTranDate()">
							<br>
							便民驿站商户号:
							<input type="text" value="" name="MerchantNo" id="MerchantNo">
							便民驿站实体店商户分支机构号:
							<input type="text" value="" name="factMerchantNo"
								id="factMerchantNo">
							便民驿站网站商户分支机构号:
							<input type="text" value="" name="webMerchantNo"
								id="webMerchantNo">
							<input type="button" value="PIBS 日交易数据并行"
								onclick="getPIBSDataByTranDate()">
							<hr>
							<input type="text" value="" name="enddate" id="enddate">
							<input type="button" value="自动售卡" onclick="saleOldCard()">
						</td>
					</tr>
				</table>
			</form>
		</div>
	</body>
</html>